package com.hl.toolkit.server.tycoin.account.slaveentity;

import com.tycoin.common.entity.AbstractEntity;
import com.tycoin.user.slaveentity.TycoinUser;

import javax.persistence.*;

@Entity
@Table(name="tycoin_account_payment")
 public class TycoinAccountPayment extends AbstractEntity implements java.io.Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = -7602076703028544606L;

 
	
	@Column(name = "user_id")
	private String  userId;  //创建时间普通格式
	
	
	@ManyToOne(fetch = FetchType.LAZY)
	@JoinColumn(name = "user_id", insertable = false, updatable = false)
	private TycoinUser TycoinUser;// 所属剧头，针对剧头
	
	public TycoinUser getTycoinUser() {
		return TycoinUser;
	}

	public void setTycoinUser(TycoinUser TycoinUser) {
		this.TycoinUser = TycoinUser;
	}

	public String getUserId() {
		return userId;
	}

	public void setUserId(String userId) {
		this.userId = userId;
	}
 
	@Column(name = "date_time")
	private long DateTime; //时间戳
	
	@Column(name = "receiver_name")
	private   String receiverName;
	
	@Column(name = "amount")
	private  String amount;
	
	@Column(name = "amount_float")
	private  Float amountFloat;
	
	@Column(name = "bank_name")
	private  String bankName;
	
 	@Column(name = "receiver_card_no")
	private  String receiverCardNo;
 	
 	
 	@Column(name = "shop_notif_url")
	private  String shopNotifUrl;
 	
 	@Column(name = "logno")
 	private String logno;
 	
	
  	public String getLogno() {
		return logno;
	}

	public void setLogno(String logno) {
		this.logno = logno;
	}

	public String getShopNotifUrl() {
		return shopNotifUrl;
	}

	public void setShopNotifUrl(String shopNotifUrl) {
		this.shopNotifUrl = shopNotifUrl;
	}

	public Float getAmountFloat() {
		return amountFloat;
	}

	public void setAmountFloat(Float amountFloat) {
		this.amountFloat = amountFloat;
	}

	public String getPaymentId() {
		return paymentId;
	}

	public void setPaymentId(String paymentId) {
		this.paymentId = paymentId;
	}

	@Column(name = "bank_code")
	private  String bankCode;
	
  	@Column(name = "addip")
	private  String addip;
  	
  	@Column(name = "payment_id")
	private  String paymentId;
   	
  	@Column(name = "return_text")
  	private String returnText;
	
  	public String getReturnText() {
		return returnText;
	}

	public void setReturnText(String returnText) {
		this.returnText = returnText;
	}

	@Column(name = "status")
	private  int status;
	
 

	public long getDateTime() {
		return DateTime;
	}

	public void setDateTime(long dateTime) {
		DateTime = dateTime;
	}

	public String getReceiverName() {
		return receiverName;
	}

	public void setReceiverName(String receiverName) {
		this.receiverName = receiverName;
	}

	public String getAmount() {
		return amount;
	}

	public void setAmount(String amount) {
		this.amount = amount;
	}

	public String getBankName() {
		return bankName;
	}

	public void setBankName(String bankName) {
		this.bankName = bankName;
	}

	public String getReceiverCardNo() {
		return receiverCardNo;
	}

	public void setReceiverCardNo(String receiverCardNo) {
		this.receiverCardNo = receiverCardNo;
	}

	public String getBankCode() {
		return bankCode;
	}

	public void setBankCode(String bankCode) {
		this.bankCode = bankCode;
	}

	public String getAddip() {
		return addip;
	}

	public void setAddip(String addip) {
		this.addip = addip;
	}

	public int getStatus() {
		return status;
	}

	public void setStatus(int status) {
		this.status = status;
	}
	
	
	
	

}
